<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:fragment="head">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
		<link rel="stylesheet" type="text/css" media="all" th:href="@{/assets/admin/skins/default/style.css}" />
		<!-- <link rel="shortcut icon" th:href="@{/assets/images/favicon.ico}"> -->
		<script type="text/javascript" th:src="@{/assets/scripts/jquery/jquery-1.11.2.min.js}" ></script>
		<script type="text/javascript" th:src="@{/assets/scripts/jquery/Validform_v5.3.2_min.js}" ></script>
		<script type="text/javascript" th:src="@{/assets/admin/scripts/common.js}" ></script>
		<script type="text/javascript" th:src="@{/assets/libs/artDialog/jquery.artDialog.js?skin=default}"></script>
		<script type="text/javascript" th:src="@{/assets/libs/artDialog/artDialog.iframeTools.js}"></script>
	</head>
	<body>
		<form method="POST">
			<!-- 面包屑导航 -->
			<div th:fragment="location(title1,title2)" class="location">
				<a href="javascript:history.back(-1);" class="back"><i></i><span>返回上一页</span></a>
				<a class="home" th:href="@{/}"><i></i>
				<span>首页</span></a> 
				<i class="arrow"></i> 
				<span th:text="${title1}">型号管理</span>
				<i class="arrow"></i> 
				<span th:text="${title2}">修改型号</span>
			</div>
			<!-- 选项卡 -->
			<div id="floatHead" class="content-tab-wrap">
			  <div class="content-tab">
			    <div class="content-tab-ul-wrap">
			      <ul>
			        <li><a class="selected" href="javascript:;">基本信息</a></li>
			        <li><a href="javascript:;">详细描述</a></li>
			        <li><a href="javascript:;">SEO选项</a></li>
			      </ul>
			    </div>
			  </div>
			</div>
			<div class="tab-content">
			<!-- 表单示例 -->
				<dl>
					<dt>普通文本</dt>
				    <dd>
				      <input type="text" class="input normal" data-type="*2-100" />
				      <span class="Validform_checktip">*标题最多100个字符</span>
				    </dd>
				</dl>
				<dl>
					<dt>图片</dt>
				    <dd class="rule-album-input">
				      <input type="hidden" class="input normal" th:field="*{certLegalPerson}" />
				    </dd>
				</dl>
				<dl>
					<dt>选择框</dt>
				    <dd>
				      	<div class="rule-single-select">
				    		<select th:field="*{name}" >
				    			<option value="">请选择</option>
				    			<option th:each="op:${list}" th:value="${op.value}" th:text="${op.label}">其它</option>
				    		</select>
				    	</div>
				    </dd>
				</dl>
			</div>
			<div class="page-footer" th:fragment="footer">
			  <div class="btn-wrap" style="position:static;">
			    <input type="submit" value="提交保存" id="btnSubmit" class="btn" />
			    <input type="button" value="返回列表页" class="btn yellow" onclick="javascript:history.back(-1);" />
			  </div>
			</div>
		</form>
		<script th:fragment="formscript" type="text/javascript">
			$("form").initValidform();
			$(".content-tab-ul-wrap a").removeClass("selected").eq(0).addClass("selected");
			$(".tab-content").hide().eq(0).show();
			$(".content-tab-ul-wrap a").each(function(index){
				$(this).click(function(){
					$(".content-tab-ul-wrap a").removeClass("selected").eq(index).addClass("selected");
					$(".tab-content").hide().eq(index).show();
				});
			})
		</script>
	</body>
</html>